package com.pmcc.platform.shopping.repository;

import com.pmcc.platform.shopping.entity.ShoppingChangeLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ShoppingChangeLogRepository extends JpaRepository<ShoppingChangeLog,String> {
    List<ShoppingChangeLog> findAllByShoppingIdAndDelFlagOrderByCreateTimeDesc(String shoppingId, String delFlag);

    int countAllByShoppingIdAndDelFlag(String shoppingId,String delFlag);

   List<ShoppingChangeLog> findAllByShoppingIdAndDelFlag(String shoppingId,String delfLag);
}
